#!/usr/bin/env python
NAME = 'pynchon'                                                                                      
VERSION = '0.6'                                                                                     

import setuptools
import numpy
from distutils.core import setup, Extension

REQUIRES = [
    # -*- Install requires: -*-
    'setuptools',              
    'numpy'               
    ]                          

CLASSIFIERS = [
    # from: http://www.python.org/pypi?%3Aaction=list_classifiers
    "Development Status :: 4 - Beta",     
    "License :: OSI Approved :: BSD License",
    "Programming Language :: Python :: 2.6",                             
    "Operating System :: OS Independent"                          
    ]                                                             

PACKAGES = ['pynchon']
PACKAGE_DIR = {'pynchon': 'pynchon'}
PACKAGE_DATA = {'pynchon':['doc/source/*', 'test/*']}

setup(
    name=NAME.lower(),
    version=VERSION,
    description='Pynchon - Bioinformatics with Numpy',
    keywords='bioinformatics, numpy',
    author='Marcin Cieslik',
    author_email='mpc4p@virginia.edu',
    url='http://code.google.com/p/pynchon/',
    license='New BSD License',
    long_description=open('README.rst', 'r').read(),
    classifiers=CLASSIFIERS,
    packages=PACKAGES,
    package_dir=PACKAGE_DIR,
    package_data=PACKAGE_DATA,
    install_requires=REQUIRES,
    # Options
    include_package_data=True,
    zip_safe=False,
    ext_modules=[
                  Extension('pynchon.math._transformations', 
                            ['pynchon/math/transformations.c'],
                            include_dirs=[numpy.get_include()], 
                            extra_compile_args=[])
                  ]
    )
